package ccnt.pvc.scudwaremobile.coop;

import org.teleal.cling.binding.annotations.UpnpAction;
import org.teleal.cling.binding.annotations.UpnpOutputArgument;
import org.teleal.cling.binding.annotations.UpnpService;
import org.teleal.cling.binding.annotations.UpnpServiceId;
import org.teleal.cling.binding.annotations.UpnpServiceType;
import org.teleal.cling.binding.annotations.UpnpStateVariable;

@UpnpService(
        serviceId = @UpnpServiceId("ServiceOfScudeware"),
        serviceType = @UpnpServiceType(value = "ServiceOfScudeware", version = 1)
)
public class ServiceOfScudeware {
	
	@UpnpStateVariable(defaultValue = "unknown", sendEvents = false)
    private String account = "unknown";
	
	@UpnpStateVariable(defaultValue = "0", sendEvents = false)
	private int id = 0;
	
	@UpnpAction(out = @UpnpOutputArgument(name = "Account"))
	public String getAccount() {
		return account;
	}
	
	@UpnpAction(out = @UpnpOutputArgument(name = "Id"))
	public int getId() {
		return id;
	}
	
}
